package com.xubeizhi.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xubeizhi.common.ResponseResult;
import com.xubeizhi.entity.Role;

import java.util.List;

/**
 * 系统角色管理类--角色表 服务类
 * @author mi
 * @create 2023/3/20 11:18
 */
public interface RoleService extends IService<Role> {

    ResponseResult listRole(String name);

    ResponseResult insertRole(Role role);

    ResponseResult updateRole(Role role);

    ResponseResult deleteBatch(List<Integer> ids);

    ResponseResult getCurrentUserRole();

    ResponseResult selectById(Integer roleId);
}
